<?php
namespace app\web\controller;

use think\Db;

class Cgzz extends Base
{
  public function index()
  {
    $cgzz = Db::name('article')->where('cate_id','=',1)->paginate(10);
    $this->assign('cgzz',$cgzz);
    return view();
  }

}
?>